// 顶部样式
.top-nav-container {
  background: $theme-top-bg;
  height: $xyTopBarHeight;

  // 顶部logo
  .logo {
    height: $xyTopBarHeight;
    line-height: $xyTopBarHeight;
  }
}
// 顶部样式
.top-nav-container {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  .logo {
    font-size: 1.563vw;
    box-sizing: border-box;
    text-indent: 1.042vw;
    font-weight: bold;
    color: #ffffff;

    img {
      margin-top: 0.55vw;
    }

    b {
      color: #4ec6a0;
    }
  }

  .el-menu {
    border: none !important;
    margin-left: 5vw;
    background: none !important;
    display: flex;
    align-items: center;
    .el-menu-item {
      color: white;
      font-size: 17px;
      font-weight: 600;
      font-family: '黑体', serif;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      margin-right: 10px;
    }
    .el-submenu {
      height: 40px;
      margin-right: 10px;
      .el-submenu__title {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        border: none !important;
        color: white;
        font-size: 17px;
        font-weight: 600;
        font-family: '黑体', serif;
        i {
          color: white !important;
        }
      }
    }
    .el-submenu:hover {
      background: white;
      border: none !important;
      border-radius: 8px;
      .el-submenu__title {
        color: black !important;
        i {
          color: black !important;
        }
      }
    }
    .is-active, .is-opened {
      background: white;
      border: none !important;
      border-radius: 8px;
      color: black !important;
      .el-submenu__title {
        color: black !important;
        border: none !important;
        i {
          color: black !important;
        }
      }
    }

    .nav-item {
      display: inline-block;
      margin-right: 0.573vw;

      .el-menu-item {
        border-radius: 3px;
        height: 2vw;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 14px;
        font-size: 0.833vw;

        .iconfont {
          font-size: 1.146vw;
        }
      }
    }
  }

  .right-menu {
    height: 2.204vw;
    margin-left: auto;
    border: solid 1px rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    color: #ffffff;
    padding: 0 1.094vw;
    display: flex;
    align-items: center;
    margin-right: 1.042vw;

    .text {
      font-size: 0.729vw;
      height: 1.771vw;
      line-height: 1.771vw;
      padding-right: 1.094vw;
      border-right: solid 1px rgba(255, 255, 255, 0.4);
    }

    a {
      display: flex;
      align-items: center;
    }

    i {
      margin-left: 1.042vw;
      font-size: 1.146vw;
      line-height: 1.146vw;
      cursor: pointer;
    }
  }
}

.elSubmenuCodeBox {
  border-radius: 10px !important;
  overflow: hidden;
  .el-menu {
    padding: 10px !important;
  }
  .el-menu-item {
    color: black !important;
    font-family: '微软雅黑', serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px !important;
  }
  .is-active {
    background: #00afff !important;
    border-radius: 8px !important;
    color: white !important;
    box-shadow: 0 0 6px #00afff !important;
    font-family: '黑体', serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
  }
}
.hamburger-container {
  line-height: 40px;
  height: 100%;
  float: left;
  cursor: pointer;
  transition: background 0.3s;
  -webkit-tap-highlight-color: transparent;

  &:hover {
    background: rgba(0, 0, 0, 0.025);
  }
}
